import LoginScreen from '@/pages/Login';
import InstallerPicker from '@/pages/Register/components/InstallerPicker';
const signout: ReactNavigation.RouteType[] = [
  {
    name: 'Login',
    component: LoginScreen,
    options: {
      headerShown: false,
    },
  },
  {
    name: 'Register',
    component: require('@/pages/Register').default,
    options: t => ({
      title: t('sys.operation.register'),
    })
  },
  {
    name: 'SiteSettings',
    component: require('@/pages/common/SiteSettings').default,
    options: t => ({
      title: t('user.site_switch'),
    }),
  },
  {
    name: 'ResetPassword',
    component: require('@/pages/common/ResetPassword').default,
    options: t => ({
      title: t('userSetting.retrievePassword'),
    }),
  },
  {
    name: 'InstallerPicker',
    component: InstallerPicker,
    options: t => ({
      title: t('common.installer'),
    }),
  },
];

export default signout;